﻿
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using Microsoft.EntityFrameworkCore;
using Digitalmes.Model.AndonManagement;
using Digitalmes.Model;

namespace Digitalmes.ViewModel.AndonManagement.AndonStationHeaderVMs
{
    public partial class AndonStationHeaderBatchVM : BaseBatchVM<AndonStationHeader, AndonStationHeader_BatchEdit>
    {
        public AndonStationHeaderBatchVM()
        {
            ListVM = new AndonStationHeaderListVM();
            LinkedVM = new AndonStationHeader_BatchEdit();
        }

        public override bool DoBatchEdit()
        {
            
            return base.DoBatchEdit();
        }
    }

	/// <summary>
    /// Class to define batch edit fields
    /// </summary>
    public class AndonStationHeader_BatchEdit : BaseVM
    {

        
        [Display(Name = "_Model._AndonStationHeader._Station")]
        public long? StationId { get; set; }
        [Display(Name = "_Model._AndonStationHeader._HeaderRole")]
        public string HeaderRole { get; set; }
        [Display(Name = "_Model._AndonStationHeader._Header")]
        public string Header { get; set; }
        [Display(Name = "_Model._AndonStationHeader._ContactNumber")]
        public string ContactNumber { get; set; }

        protected override void InitVM()
        {
           
        }
    }

}